home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 7465 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  914 b 

  1. Path: comma.rhein.de!serpens!not-for-mail
  2. From: mlelstv@serpens.rhein.de (Michael van Elst)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: BitMap problem
  5. Date: 17 Apr 1996 09:35:12 +0200
  6. Organization: dis-
  7. Message-ID: <4l26vg$cbu@serpens.rhein.de>
  8. References: <Pine.LNX.3.91.960415142638.3721A-100000@mix.hsv.no> <4l1afm$ioo@sinsen.sn.no>
  9. NNTP-Posting-Host: serpens.rhein.de
  10.  
  11. ilan@sn.no (Ilan Sharoni) writes:
  12.  
  13. >>RectFill()     The rendering MUST NOT go outside the bitmap, or else you
  14.  
  15. >RectFill(0,0,bitmap_width,bitmap_height) - is this too big?
  16.  
  17. It is WRONG. RectFill does not take size arguments, it takes the coords
  18. of the top left and bottom right pixel of the rectangle. You must use:
  19.  
  20. RectFill(rp, 0,0, bitmap_width-1,bitmap_height-1);
  21.  
  22. -- 
  23.                                 Michael van Elst
  24.  
  25. Internet: mlelstv@serpens.rhein.de
  26.                                 "A potential Snark may lurk in every tree."
  27.